package ai.minimax;

import hexgame.GameState;
import hexgame.Player;
import hexgame.PlayerFactory;

public class MiniMaxAIFactory implements PlayerFactory {
	
	boolean bridging;
	int depth;
	
	public MiniMaxAIFactory(int depth, boolean bridging) {
		this.depth = depth;
		this.bridging = bridging;
	}
	
	@Override
	public Player createPlayer(GameState state) {
		return new MiniMaxAI(state, depth, bridging);
	}
	
}
